<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .div1{
      height: 200px;
      width: 50px;
      /* display: inline-block; */
      background-color: red;
      float: left;
    }
    .div2{
      height: 220px;
      width: 50px;
      /* display: inline-block; */
      background-color: yellow;
      float: left;
    }
    img{
      width: 50px;
      height: 50px;
    }
  </style>
</head>
<body>
  <div>
  
    <div class="div2">
      <img src="img/花.jpg"/>
      <p>width=device-width, initial-scale=1.</p>
    </div>
    <div class="div1">
      <img src="img/tutu.jpeg"/>
      <p>12323</p>
    </div>
  </div>
</body>
</html>